< previous page page_779 next page >

Page 779
0779-01.jpg
Figure 20.16.
The Authors_Conflict table.
Errors That May Occur During Replication
Along with record conflicts, more serious errors can occur during synchronization. There are several actions that may cause an error during synchronization. For example, you can implement table-level validation rules after replicas have been created. This is not bad in itself, but an error occurs during synchronization if you try to replicate the rule and if a member of the replica set has entered and saved data that violates the rule.
This same type of error may occur if you change the primary key of a table. You could try replicating this change only to find that you receive an error when a replica has two equal values in two separate records in the field you tried to create as the primary key.
In both cases, you are performing serious design changes in mid-stream. You should therefore be careful and limit the design changes you make to members of a replica set.
An error may also occur when one replica set member deletes an entry from a validation table that has been used by another member in updating a master record. You receive an error when you try to import the master record into the replica set that deleted the validation table entry. Each member by itself doesn't violate referential integrity rules, but when combined, they do so in grand style. To avoid this situation, make validation tables read-only to all but the Design Master whenever possible.

 
< previous page page_779 next page >

If you like this book, buy it!